import { request } from '@/utils/request.js'; //导入封装好的js文件

// 发表日报
export const createReportApi = (data) => {
  return request({
    url: '/dailyreport/parent/upload',
    method: 'post',
    data
  });
};

// 查询月度日报列表
export const monthReportListApi = (data) => {
  return request({
    url: '/dailyreport/list/month',
    method: 'get',
    data
  });
};

// 日报详情
export const reportDetailApi = (data) => {
  return request({
    url: '/dailyreport/view',
    method: 'get',
    data
  });
};
